package Game;

public class Prova extends Item
{
	public Prova(int x, int y, int w, int h)
	{
		super(x, y, w, h);
		
		Load("/Images/proof.png");
	}

	@Override
	public void Update()
	{
		if(visible)
		{
			if(Mouse.clicked)
			{
				if(this.getRectangle().contains(Mouse.lastClickedPosition))
				{
					System.out.println("Pegou Prova");
					
					this.visible = false;
					
					HUD.AddProva(1);
				}
			}
		}
	}
}